#!/usr/bin/env python
# -*- encoding: utf-8 -*-
import os

from model.config_base import DevelopmentConfig as DevCfgBase, ProductionConfig as ProdCfgBase


class DevelopmentConfig(DevCfgBase):
    # NOTE -------------------------- 下面三个DB的用户密码等信息请仿照邮件内填好，切勿上传至GIT上
    # MPP
    DB_HOST_MPP_DB2 = '000'
    DB_PORT_MPP_DB2 = 88888888
    DB_DBNAME_MPP_DB2 = '000'
    DB_USER_MPP_DB2 = '000'
    DB_PASSWORD_MPP_DB2 = '000'

    # RDS
    DB_HOST_RDS_DB2 = '000'
    DB_PORT_RDS_DB2 = 88888888
    DB_DBNAME_RDS_DB2 = '000'
    DB_USER_RDS_DB2 = '000'
    DB_PASSWORD_RDS_DB2 = '000'

    # DBPROD7
    DB_HOST_DBPROD7_DB2 = '000'
    DB_PORT_DBPROD7_DB2 = 88888888
    DB_DBNAME_DBPROD7_DB2 = '000'
    DB_USER_DBPROD7_DB2 = '000'
    DB_PASSWORD_DBPROD7_DB2 = '000'


class ProductionConfig(ProdCfgBase):
    # NOTE -------------------------- 下面三个DB的用户密码等信息请仿照邮件内填好，切勿上传至GIT上
    # MPP
    DB_HOST_MPP_DB2 = '000'
    DB_PORT_MPP_DB2 = 88888888
    DB_DBNAME_MPP_DB2 = '000'
    DB_USER_MPP_DB2 = '000'
    DB_PASSWORD_MPP_DB2 = '000'

    # RDS
    DB_HOST_RDS_DB2 = '000'
    DB_PORT_RDS_DB2 = 88888888
    DB_DBNAME_RDS_DB2 = '000'
    DB_USER_RDS_DB2 = '000'
    DB_PASSWORD_RDS_DB2 = '000'

    # DBPROD7
    DB_HOST_DBPROD7_DB2 = '000'
    DB_PORT_DBPROD7_DB2 = 88888888
    DB_DBNAME_DBPROD7_DB2 = '000'
    DB_USER_DBPROD7_DB2 = '000'
    DB_PASSWORD_DBPROD7_DB2 = '000'


app_config = {
    'dev': DevelopmentConfig,
    'prod': ProductionConfig
}
